﻿@using SunTzu.Utility;
@model form_referral_apply
@{
    ViewBag.Title = "专场推介会审核";
    Layout = "~/Areas/Admin/Views/Shared/_RightLayout.cshtml";
    List<int> industries = new List<int>();
    if (!string.IsNullOrEmpty(Model.Industry))
    {
        industries.AddRange(Model.Industry.Split(',').Select(c => c.ParseToInt()));
    }
}

	<form id="editForm" name="editForm" method="post" action="/FormReferralApply/Approve/?id=@Model.Id">
	<div id="panelBar">
		<ul class="toolBar">
			<li><input class="submit" type="submit" value="确认审核" /></li>
			<li><a class="back" href="javascript:void(0)"><span>返回</span></a></li>
		</ul>
	</div>
	<div id="edit">
		<ul>
            <li> 
				<span class="label">单位性质：</span>
                <span class="required">
                    <input id="Type" name="Type" type="text" value="@Model.Type" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">法人代表：</span>
                <span class="required">
                    <input id="LegalPerson" name="LegalPerson" type="text" value="@Model.LegalPerson" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">负责人：</span>
                <span class="required">
                    <input id="MainPerson" name="MainPerson" type="text" value="@Model.MainPerson" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">推介会主题：</span>
                <span class="required">
                    <input id="ReferralTopic" name="ReferralTopic" type="text" value="@Model.ReferralTopic" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">推介会内容：</span>
                <span class="required">
                    <input id="ReferralContent" name="ReferralContent" type="text" value="@Model.ReferralContent" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">其他活动安排：</span>
                <span >
                    <input id="Activity" name="Activity" type="text" value="@Model.Activity"  title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">推介人：</span>
                <span >
                    <input id="ReferralPerson" name="ReferralPerson" type="text" value="@Model.ReferralPerson"  title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">职务：</span>
                <span class="required">
                    <input id="ReferralTitle" name="ReferralTitle" type="text" value="@Model.ReferralTitle" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">所属行业：</span>
                <span class="required">
                <ul class="multiSelections">
                @foreach (var industry in CacheHelper<code_industry>.GetAll().OrderBy(c => c.Order))
                {
                    <li @(industry.Title == "其他" ? "class=multiSelectionInput" : "")>
                        <input type="checkbox" @(industries.Contains(industry.Id) ? "checked" : "") name="Industry" value="@industry.Id" /> @industry.Title
                        @if (industry.Title == "其他")
                        {
                        <input type="text" name="ScopeOtherName" class="inputNormal" value="@Model.IndustryOtherName" />
                        }
                    </li>
                }
                </ul>
                </span>
			</li> 
            <li> 
				<span class="label">企业邀请听众：</span>
                <span class="required">
                    <input id="InvitePeopleCount" name="InvitePeopleCount" type="text" value="@Model.InvitePeopleCount" title="请输入" /> 
                </span>
			</li> 

            <li> 
				<span class="label">服务需求：</span>
                <span>
                    <input id="Requirement" name="Requirement" type="text" value="@Model.Requirement" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">单位地址：</span>
                <span class="required">
                    <input id="Address" name="Address" type="text" value="@Model.Address" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">联系人：</span>
                <span class="required">
                    <input id="Contacter" name="Contacter" type="text" value="@Model.Contacter" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">联系电话：</span>
                <span class="required">
                    <input id="Tel" name="Tel" type="text" value="@Model.Tel" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">手机：</span>
                <span class="required">
                    <input id="Mobile" name="Mobile" type="text" value="@Model.Mobile" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">传真：</span>
                <span class="required">
                    <input id="Fax" name="Fax" type="text" value="@Model.Fax" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">Email：</span>
                <span class="required">
                    <input id="Email" name="Email" type="text" value="@Model.Email" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">网址：</span>
                <span class="required">
                    <input id="Url" name="Url" type="text" value="@Model.Url" title="请输入" /> 
                </span>
			</li> 
		</ul>
	</div>
	</form>
